﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AdmLaboratorios.DTO;
using System.Data;

namespace AdmLaboratorios.DAO
{
    public class ValeConsumoDevolucionDAO : DAOBase<ValeConsumoDevolucionDTO>
    {
        public DataTable Consulta(string tipo)
        {
            string qry = @"SELECT * FROM ValeConsumoDevolucion";

            if (tipo.Trim() != string.Empty)
                qry = qry + " WHERE " + tipo;

            return GetTable(qry);
        }
    }
}
